<?php
class CommentModel extends Model{

	protected $_validate = array(
		array('Verify','require','验证码必须！'), //默认情况下用正则进行验证   
		array('comm_username','require','昵称必填！'), //默认情况下用正则进行验证
		array('comm_content','require','评论内容不能为空！'), //默认情况下用正则进行验证
		array('comm_email','email','非法的EMAIL地址',2), //EMAIL 
	);

}